#!/bin/sh

[ "$SEEN" -ge 3 ] && exit 1
wps_done=0
ubusobjs="$( ubus -S list hostapd.* )"
for ubusobj in $ubusobjs; do
	ubus -S call $ubusobj wps_start && wps_done=1
done
[ $wps_done = 1 ]

